package nxu.it.movieapi.Doc;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Document(collection = "staff")
public class StaffDoc {
    @Id
    private Integer id;

    private String chineseName;

    private String englishName;

    private String gender;

    private String region;

    private List<FilmographyDoc> directed;

    private List<FilmographyDoc> acted;

    // Getters and Setters
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getChineseName() {
        return chineseName;
    }

    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public List<FilmographyDoc> getDirected() {
        return directed;
    }

    public void setDirected(List<FilmographyDoc> directed) {
        this.directed = directed;
    }

    public List<FilmographyDoc> getActed() {
        return acted;
    }

    public void setActed(List<FilmographyDoc> acted) {
        this.acted = acted;
    }
}
